package com.foo.example.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 现金充值、充值审核
 * @author Administrator
 *
 */
@Entity
@Table(name = "cq_bu_recharge")
public class Recharge {
		
		@Id
		@Column(name = "id",length = 32)
		@javax.persistence.GeneratedValue(generator = "system-uuid")
		@org.hibernate.annotations.GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
		private String id;
		
		@Column(nullable = false)
		private Long userNo;     //会员编号

		private Date rechargeDate;  //充值日期

		@Column(length = 100,nullable = true)
		private String remittanceBank;     //汇款银行
		
		@Column(nullable = false)
		private Double remittanceAmount;     //汇款金额
		
		@Column(nullable = false)
		private Double shouldRemittanceAmount;//应汇金额
		
		@Column(length = 100,nullable = true)
		private String auditUser;     //审核人
		
		private Date auditDate;  //审核日期
		
		@Column(length = 10,nullable = true)
		private String auditStatus;//审核状态  0:待审核  1：审核通过  2：审核不通过

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public Long getUserNo() {
			return userNo;
		}

		public void setUserNo(Long userNo) {
			this.userNo = userNo;
		}

		public Date getRechargeDate() {
			return rechargeDate;
		}

		public void setRechargeDate(Date rechargeDate) {
			this.rechargeDate = rechargeDate;
		}

		public String getRemittanceBank() {
			return remittanceBank;
		}

		public void setRemittanceBank(String remittanceBank) {
			this.remittanceBank = remittanceBank;
		}

		public Double getRemittanceAmount() {
			return remittanceAmount;
		}

		public void setRemittanceAmount(Double remittanceAmount) {
			this.remittanceAmount = remittanceAmount;
		}

		public Double getShouldRemittanceAmount() {
			return shouldRemittanceAmount;
		}

		public void setShouldRemittanceAmount(Double shouldRemittanceAmount) {
			this.shouldRemittanceAmount = shouldRemittanceAmount;
		}

		public String getAuditUser() {
			return auditUser;
		}

		public void setAuditUser(String auditUser) {
			this.auditUser = auditUser;
		}

		public Date getAuditDate() {
			return auditDate;
		}

		public void setAuditDate(Date auditDate) {
			this.auditDate = auditDate;
		}

		public String getAuditStatus() {
			return auditStatus;
		}

		public void setAuditStatus(String auditStatus) {
			this.auditStatus = auditStatus;
		}
}
